from django.urls import path
from . import views

# namespace
app_name = 'ancientBooks'

urlpatterns = [
    path('poetry', views.AncientPoetryListAPIView.as_view(), name='AncientPoetryListAPIView'),
    path('poetry/<int:pk>', views.get_ancient_poetry, name='ancient_poetry'),
    path("poetry/count", views.ancient_poetry_data_total_count, name='ancient_poetry_data_total_count'),
    path('books', views.AncientBooksListAPIView.as_view(), name='AncientBooksListAPIView'),
    path('books/<int:pk>', views.get_ancient_books, name='ancient_book'),

]
